package com.baidu.cmsService.services;

import com.baidu.cmsCommes.pojo.Channel;
import com.baidu.cmsCommes.pojo.Pager;
import com.baidu.cmsCommes.pojo.User;
import com.baidu.cmsCommes.pojo.UserDto;

import java.util.List;

/**
 * @Author: BSS
 * @create: 2020/6/17/20:30
 */
public interface UserService {
    Pager<User> userList();

    Boolean updateStatusById(Integer id);

    Boolean deleteUser(Integer id);

    UserDto selectUserById(Integer id);

    Boolean saveUser(UserDto userDto);

    Boolean updateUser(UserDto userDto);

    List<Channel> listChannels(Integer id);

    Boolean isAdmin(Integer id);
}
